package main

import (
	"fmt"
	"net/http"
)

func LoginHandler(w http.ResponseWriter, r *http.Request) {
	fmt.Println("login for : ", r.URL.Query().Get("username"))
	w.Write([]byte("success"))
}

func main() {
	http.HandleFunc("/user/login", LoginHandler)

	http.ListenAndServe(":8088", nil)
}
